package com.example.ymm.modules1.service.hl.ex;

import com.example.ymm.base.BaseService;
import com.example.ymm.model.TableList;
import com.example.ymm.model.YmPageDto;
import com.example.ymm.modules1.entity.hl.ex.ExPublishGroup;
import com.example.ymm.modules1.query.hl.ex.ExPublishGroupQueryCriteria;

import java.util.List;

public interface ExPublishGroupService extends BaseService<ExPublishGroup> {


    TableList<ExPublishGroup> list(ExPublishGroupQueryCriteria criteria, YmPageDto ymPage);

    List<ExPublishGroup> queryAll(ExPublishGroupQueryCriteria criteria);

    /**
     * 修改发布模块
     * 只修改categoryName和limitTime
     * @param exPublishGroup
     */
    void savePublishGroup(ExPublishGroup exPublishGroup);


    /**
     * 重考发布模块
     * @param exPublishGroup
     */
    void againPublishGroup(ExPublishGroup exPublishGroup);
}
